package com.cvit.model;

import java.util.ArrayList;
import java.util.List;

public class ExaminationtableExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExaminationtableExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andExamineNumberIsNull() {
            addCriterion("examine_number is null");
            return (Criteria) this;
        }

        public Criteria andExamineNumberIsNotNull() {
            addCriterion("examine_number is not null");
            return (Criteria) this;
        }

        public Criteria andExamineNumberEqualTo(String value) {
            addCriterion("examine_number =", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberNotEqualTo(String value) {
            addCriterion("examine_number <>", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberGreaterThan(String value) {
            addCriterion("examine_number >", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberGreaterThanOrEqualTo(String value) {
            addCriterion("examine_number >=", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberLessThan(String value) {
            addCriterion("examine_number <", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberLessThanOrEqualTo(String value) {
            addCriterion("examine_number <=", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberLike(String value) {
            addCriterion("examine_number like", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberNotLike(String value) {
            addCriterion("examine_number not like", value, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberIn(List<String> values) {
            addCriterion("examine_number in", values, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberNotIn(List<String> values) {
            addCriterion("examine_number not in", values, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberBetween(String value1, String value2) {
            addCriterion("examine_number between", value1, value2, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andExamineNumberNotBetween(String value1, String value2) {
            addCriterion("examine_number not between", value1, value2, "examineNumber");
            return (Criteria) this;
        }

        public Criteria andEamineeIdIsNull() {
            addCriterion("eaminee_id is null");
            return (Criteria) this;
        }

        public Criteria andEamineeIdIsNotNull() {
            addCriterion("eaminee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEamineeIdEqualTo(String value) {
            addCriterion("eaminee_id =", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdNotEqualTo(String value) {
            addCriterion("eaminee_id <>", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdGreaterThan(String value) {
            addCriterion("eaminee_id >", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdGreaterThanOrEqualTo(String value) {
            addCriterion("eaminee_id >=", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdLessThan(String value) {
            addCriterion("eaminee_id <", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdLessThanOrEqualTo(String value) {
            addCriterion("eaminee_id <=", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdLike(String value) {
            addCriterion("eaminee_id like", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdNotLike(String value) {
            addCriterion("eaminee_id not like", value, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdIn(List<String> values) {
            addCriterion("eaminee_id in", values, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdNotIn(List<String> values) {
            addCriterion("eaminee_id not in", values, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdBetween(String value1, String value2) {
            addCriterion("eaminee_id between", value1, value2, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andEamineeIdNotBetween(String value1, String value2) {
            addCriterion("eaminee_id not between", value1, value2, "eamineeId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("gender is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("gender is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(String value) {
            addCriterion("gender =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(String value) {
            addCriterion("gender <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(String value) {
            addCriterion("gender >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(String value) {
            addCriterion("gender >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(String value) {
            addCriterion("gender <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(String value) {
            addCriterion("gender <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLike(String value) {
            addCriterion("gender like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotLike(String value) {
            addCriterion("gender not like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<String> values) {
            addCriterion("gender in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<String> values) {
            addCriterion("gender not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(String value1, String value2) {
            addCriterion("gender between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(String value1, String value2) {
            addCriterion("gender not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andCardIdIsNull() {
            addCriterion("card_id is null");
            return (Criteria) this;
        }

        public Criteria andCardIdIsNotNull() {
            addCriterion("card_id is not null");
            return (Criteria) this;
        }

        public Criteria andCardIdEqualTo(String value) {
            addCriterion("card_id =", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotEqualTo(String value) {
            addCriterion("card_id <>", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThan(String value) {
            addCriterion("card_id >", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdGreaterThanOrEqualTo(String value) {
            addCriterion("card_id >=", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLessThan(String value) {
            addCriterion("card_id <", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLessThanOrEqualTo(String value) {
            addCriterion("card_id <=", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdLike(String value) {
            addCriterion("card_id like", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotLike(String value) {
            addCriterion("card_id not like", value, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdIn(List<String> values) {
            addCriterion("card_id in", values, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotIn(List<String> values) {
            addCriterion("card_id not in", values, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdBetween(String value1, String value2) {
            addCriterion("card_id between", value1, value2, "cardId");
            return (Criteria) this;
        }

        public Criteria andCardIdNotBetween(String value1, String value2) {
            addCriterion("card_id not between", value1, value2, "cardId");
            return (Criteria) this;
        }

        public Criteria andScienceIsNull() {
            addCriterion("science is null");
            return (Criteria) this;
        }

        public Criteria andScienceIsNotNull() {
            addCriterion("science is not null");
            return (Criteria) this;
        }

        public Criteria andScienceEqualTo(String value) {
            addCriterion("science =", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceNotEqualTo(String value) {
            addCriterion("science <>", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceGreaterThan(String value) {
            addCriterion("science >", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceGreaterThanOrEqualTo(String value) {
            addCriterion("science >=", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceLessThan(String value) {
            addCriterion("science <", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceLessThanOrEqualTo(String value) {
            addCriterion("science <=", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceLike(String value) {
            addCriterion("science like", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceNotLike(String value) {
            addCriterion("science not like", value, "science");
            return (Criteria) this;
        }

        public Criteria andScienceIn(List<String> values) {
            addCriterion("science in", values, "science");
            return (Criteria) this;
        }

        public Criteria andScienceNotIn(List<String> values) {
            addCriterion("science not in", values, "science");
            return (Criteria) this;
        }

        public Criteria andScienceBetween(String value1, String value2) {
            addCriterion("science between", value1, value2, "science");
            return (Criteria) this;
        }

        public Criteria andScienceNotBetween(String value1, String value2) {
            addCriterion("science not between", value1, value2, "science");
            return (Criteria) this;
        }

        public Criteria andStudentNumberIsNull() {
            addCriterion("student_number is null");
            return (Criteria) this;
        }

        public Criteria andStudentNumberIsNotNull() {
            addCriterion("student_number is not null");
            return (Criteria) this;
        }

        public Criteria andStudentNumberEqualTo(String value) {
            addCriterion("student_number =", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberNotEqualTo(String value) {
            addCriterion("student_number <>", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberGreaterThan(String value) {
            addCriterion("student_number >", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberGreaterThanOrEqualTo(String value) {
            addCriterion("student_number >=", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberLessThan(String value) {
            addCriterion("student_number <", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberLessThanOrEqualTo(String value) {
            addCriterion("student_number <=", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberLike(String value) {
            addCriterion("student_number like", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberNotLike(String value) {
            addCriterion("student_number not like", value, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberIn(List<String> values) {
            addCriterion("student_number in", values, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberNotIn(List<String> values) {
            addCriterion("student_number not in", values, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberBetween(String value1, String value2) {
            addCriterion("student_number between", value1, value2, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andStudentNumberNotBetween(String value1, String value2) {
            addCriterion("student_number not between", value1, value2, "studentNumber");
            return (Criteria) this;
        }

        public Criteria andOverallIsNull() {
            addCriterion("overall is null");
            return (Criteria) this;
        }

        public Criteria andOverallIsNotNull() {
            addCriterion("overall is not null");
            return (Criteria) this;
        }

        public Criteria andOverallEqualTo(String value) {
            addCriterion("overall =", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallNotEqualTo(String value) {
            addCriterion("overall <>", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallGreaterThan(String value) {
            addCriterion("overall >", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallGreaterThanOrEqualTo(String value) {
            addCriterion("overall >=", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallLessThan(String value) {
            addCriterion("overall <", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallLessThanOrEqualTo(String value) {
            addCriterion("overall <=", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallLike(String value) {
            addCriterion("overall like", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallNotLike(String value) {
            addCriterion("overall not like", value, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallIn(List<String> values) {
            addCriterion("overall in", values, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallNotIn(List<String> values) {
            addCriterion("overall not in", values, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallBetween(String value1, String value2) {
            addCriterion("overall between", value1, value2, "overall");
            return (Criteria) this;
        }

        public Criteria andOverallNotBetween(String value1, String value2) {
            addCriterion("overall not between", value1, value2, "overall");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomIsNull() {
            addCriterion("examination_room is null");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomIsNotNull() {
            addCriterion("examination_room is not null");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomEqualTo(String value) {
            addCriterion("examination_room =", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomNotEqualTo(String value) {
            addCriterion("examination_room <>", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomGreaterThan(String value) {
            addCriterion("examination_room >", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomGreaterThanOrEqualTo(String value) {
            addCriterion("examination_room >=", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomLessThan(String value) {
            addCriterion("examination_room <", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomLessThanOrEqualTo(String value) {
            addCriterion("examination_room <=", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomLike(String value) {
            addCriterion("examination_room like", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomNotLike(String value) {
            addCriterion("examination_room not like", value, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomIn(List<String> values) {
            addCriterion("examination_room in", values, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomNotIn(List<String> values) {
            addCriterion("examination_room not in", values, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomBetween(String value1, String value2) {
            addCriterion("examination_room between", value1, value2, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationRoomNotBetween(String value1, String value2) {
            addCriterion("examination_room not between", value1, value2, "examinationRoom");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceIsNull() {
            addCriterion("examination_place is null");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceIsNotNull() {
            addCriterion("examination_place is not null");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceEqualTo(String value) {
            addCriterion("examination_place =", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceNotEqualTo(String value) {
            addCriterion("examination_place <>", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceGreaterThan(String value) {
            addCriterion("examination_place >", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("examination_place >=", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceLessThan(String value) {
            addCriterion("examination_place <", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceLessThanOrEqualTo(String value) {
            addCriterion("examination_place <=", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceLike(String value) {
            addCriterion("examination_place like", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceNotLike(String value) {
            addCriterion("examination_place not like", value, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceIn(List<String> values) {
            addCriterion("examination_place in", values, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceNotIn(List<String> values) {
            addCriterion("examination_place not in", values, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceBetween(String value1, String value2) {
            addCriterion("examination_place between", value1, value2, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationPlaceNotBetween(String value1, String value2) {
            addCriterion("examination_place not between", value1, value2, "examinationPlace");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeIsNull() {
            addCriterion("examination_time is null");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeIsNotNull() {
            addCriterion("examination_time is not null");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeEqualTo(String value) {
            addCriterion("examination_time =", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeNotEqualTo(String value) {
            addCriterion("examination_time <>", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeGreaterThan(String value) {
            addCriterion("examination_time >", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeGreaterThanOrEqualTo(String value) {
            addCriterion("examination_time >=", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeLessThan(String value) {
            addCriterion("examination_time <", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeLessThanOrEqualTo(String value) {
            addCriterion("examination_time <=", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeLike(String value) {
            addCriterion("examination_time like", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeNotLike(String value) {
            addCriterion("examination_time not like", value, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeIn(List<String> values) {
            addCriterion("examination_time in", values, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeNotIn(List<String> values) {
            addCriterion("examination_time not in", values, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeBetween(String value1, String value2) {
            addCriterion("examination_time between", value1, value2, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andExaminationTimeNotBetween(String value1, String value2) {
            addCriterion("examination_time not between", value1, value2, "examinationTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeIsNull() {
            addCriterion("test_time is null");
            return (Criteria) this;
        }

        public Criteria andTestTimeIsNotNull() {
            addCriterion("test_time is not null");
            return (Criteria) this;
        }

        public Criteria andTestTimeEqualTo(String value) {
            addCriterion("test_time =", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeNotEqualTo(String value) {
            addCriterion("test_time <>", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeGreaterThan(String value) {
            addCriterion("test_time >", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeGreaterThanOrEqualTo(String value) {
            addCriterion("test_time >=", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeLessThan(String value) {
            addCriterion("test_time <", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeLessThanOrEqualTo(String value) {
            addCriterion("test_time <=", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeLike(String value) {
            addCriterion("test_time like", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeNotLike(String value) {
            addCriterion("test_time not like", value, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeIn(List<String> values) {
            addCriterion("test_time in", values, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeNotIn(List<String> values) {
            addCriterion("test_time not in", values, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeBetween(String value1, String value2) {
            addCriterion("test_time between", value1, value2, "testTime");
            return (Criteria) this;
        }

        public Criteria andTestTimeNotBetween(String value1, String value2) {
            addCriterion("test_time not between", value1, value2, "testTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}